<?php
namespace App\Admin\Dto;

use Mine\Interfaces\MineModelExcel;
use Mine\Annotation\ExcelData;
use Mine\Annotation\ExcelProperty;

/**
 * 车辆列表Dto （导入导出）
 */
#[ExcelData]
class CarDto implements MineModelExcel
{
    #[ExcelProperty(value: "id", index: 0)]
    public string $id;

    #[ExcelProperty(value: "车辆分类ID", index: 1)]
    public string $car_category_ids;

    #[ExcelProperty(value: "轮播图", index: 2)]
    public string $banner;

    #[ExcelProperty(value: "封面图", index: 3)]
    public string $cover;

    #[ExcelProperty(value: "名称", index: 4)]
    public string $name;

    #[ExcelProperty(value: "单价(天)", index: 5)]
    public string $price;

    #[ExcelProperty(value: "描述", index: 6)]
    public string $describe;

    #[ExcelProperty(value: "基础配置", index: 7)]
    public string $base_config;

    #[ExcelProperty(value: "突出配置", index: 8)]
    public string $high_light_config;

    #[ExcelProperty(value: "下单量", index: 9)]
    public string $volume;

    #[ExcelProperty(value: "创建时间", index: 10)]
    public string $created_at;

    #[ExcelProperty(value: "更新时间", index: 11)]
    public string $updated_at;


}